package com.itheima.reggie.entity.dto.dish;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 菜品添加数据传输
 *
 * @Name : DishAddDTO
 * @Author : WuQiang
 * @Date : 2022-08-06 20:19
 * @Description : 菜品添加数据传输
 */
@Data
@ApiModel(value = "新增菜品数据传输")
public class DishAddDTO {
    @ApiModelProperty(value = "菜品名称")
    private String name;
    @ApiModelProperty(value = "菜品单价")
    private BigDecimal price;
    @ApiModelProperty(value = "菜品图片")
    private String image;
    @ApiModelProperty(value = "菜品描述")
    private String description;
    @ApiModelProperty(value = "菜品状态")
    private Integer status;
    @ApiModelProperty(value = "套餐id")
    private Long categoryId;

    private String code;
    @ApiModelProperty(value = "菜品口味集合")
    private List<DishFlavorDTO> flavors;
}
